﻿namespace HQS.TokenInterpolation.Tokens
{
    [Token(Name = "floor")]
    public class Floor : AbstractToken
    {
        [TokenProperty("this")]
        public string This { get; set; }

        [TokenProperty("format", false)]
        public string Format { get; set; }

        protected override TokenRuntimeValue OnAccept(IDataSourcesVisitor context)
        {
            return context.Visit(this);
        }
    }
}